package ch6;

public class Pet1Test {
    public static void main(String[] args) {
        Dog d=new Dog("旺财","金毛",50,"老鼠");
        d.introduce();
        Penguin pe=new Penguin("天天","南极企鹅",16,"游泳");
        pe.introduce();
        Parrot pa=new Parrot("八哥","金刚鹦鹉",6,"飞行");
        pa.introduce();
    }
}
